<table class="featured" width="100%">
    <col width="50%">
    <col width="50%">
    <tbody>
    <tr>
        <td>
            <h2>{$category.title}</h2>
            {$category.description}
        </td>
        <td>
            {if $featured}
            <h3>{$featuredVideo}</h3>
            <a href="{$featured.link}"><img src="{simage src=$featured.thumbnail width=220 height=130 border=true}" alt="" /></a>
            {/if}
        </td>
    </tr>
    </tbody>
</table>
<p>
    {$sortBy} <a href="{$newestLink}">{$newest}</a>
    <a href="{$viewedLink}">{$mostViewed}</a>
</p>
<table width="100%" class="videolist">
    <col width="50%">
    <col width="50%">
    <tbody>
    <tr>
        {section name=video loop=$videos}
        <td align="center">
            <div>
                <h3><a href="{$videos[video].link}">{$videos[video].title}</a></h3>
                <p style="text-align: center;"><a href="{$videos[video].link}"><img src="{simage src=$videos[video].thumbnail width=180 height=130 border=true}" alt="{$videos[video].title}" /></a></p>
                <p>{$videos[video].description|strip_tags|truncate:40}</p>
                <p>{$videos[video].views} {$viewsIntext} | {$videos[video].comments} {$comments}</p>
            </div>
        </td>
        {if $smarty.section.video.index % 2 == 1}
    </tr>
    <tr>
        {/if}
        {/section}
    </tr>
    </tbody>
</table>